package com.aaa.system.service;

import com.aaa.entity.Role;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.extension.service.IService;

public interface RoleService extends IService<Role> {
    Result selectAll(Integer currentPage, Integer pageSize,Role role);

    Result delete(Integer roleId);

    Result update(Role role);

    Result insert(Role role);

    Result queryMenusByRoleId(Integer roleId);

    Result batchInsertRoleMenu(Integer roleId, String[] menuIds);
}
